home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / sml3550.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  52.5 KB  |  1,798 lines

  1. *%%
  2. *%% Samsung ML-3550 PCL6
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20. *%%
  21. *%% Model Specific Global Entries
  22. *%%
  23. *GPDFileName: "sml3550.gpd"
  24. *ModelName:   "Samsung ML-3550 PCL6"
  25. *MaxCopies: 32767
  26. *PrintRate: 35
  27. *PrintRatePPM: 35
  28. *PrintRateUnit: PPM
  29. *%%% ======================
  30. *%%% Macros
  31. *%%% ======================
  32. *Include: "pjl.gpd"
  33. *Include: "p6font.gpd"
  34. *Include: "p6disp.gpd"
  35.  
  36. *%%% ======================
  37. *%%% Main
  38. *%%% ======================
  39. *Include: "pclxl.gpd"
  40.  
  41. *%%% ======================
  42. *%%% JOB_SETUP, PAGE_FINISH
  43. *%%% , JOB_FINISH
  44. *%%% ======================
  45. *Macros: PCLXLCommand
  46. {
  47. *%%% ---------------------------------------------------------------------------
  48. *%%% PCL XL Stream Header
  49. *%%% ---------------------------------------------------------------------------
  50. PCLXL_StreamHeader: ") HP-PCL XL;1;1;"
  51. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  52.  
  53. *%%% ---------------------------------------------------------------------------
  54. *%%% BeginSession
  55. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  56. *%%% ---------------------------------------------------------------------------
  57. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  58. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  59.  
  60. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  61. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  62.  
  63. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  64. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  65.  
  66. Width: %m{ RasterDataWidthInBytes }
  67. Height: %m{ RasterDataHeightInPixels }
  68. DataSize: %l{ NumOfDataBytes }
  69. FntHeight: %l{ FontHeight*600/TextYRes }
  70. FntNextGlyph: %l{ NextGlyph }
  71.  
  72. *%%% ---------------------------------------------------------------------------
  73. *%%% BeginRaster
  74. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  75. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  76. *%%% ---------------------------------------------------------------------------
  77. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  78. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  79. +                     =uint16 =Width =attr_ubyte =SourceWidth
  80. +                     =uint16 =Height =attr_ubyte =SourceHeight
  81. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  82. +                     =BeginImage
  83. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  84. +                     =ubyte "<00>" =attr_ubyte =StartLine
  85. +                     =uint16 =Height =attr_ubyte =BlockHeight
  86. +                     =ReadImage
  87.  
  88. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  89.  
  90. DestinationX: %l{DestX}
  91. DestinationY: %l{DestY}
  92. DestinationXRel: %l{DestYRel}
  93. DestinationYRel: %l{DestXRel}
  94. NumOfCopy: %l{NumOfCopies}
  95. PrintDir: %l{PrintDirInCCDegrees}
  96. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  97. }
  98.  
  99. *%%% ======================
  100. *%%% Features and Options
  101. *%%% ======================
  102.  
  103. *%% Orientation
  104. *Feature: Orientation
  105. {
  106.     *rcNameID: =ORIENTATION_DISPLAY
  107.     *DefaultOption: PORTRAIT
  108.     *Option: PORTRAIT
  109.     {
  110.         *rcNameID: =PORTRAIT_DISPLAY
  111.     }
  112.     *Option: LANDSCAPE_CC90
  113.     {
  114.         *rcNameID: =LANDSCAPE_DISPLAY
  115.     }
  116. }
  117.  
  118. *%%% ======================
  119. *%%% JOB_SETUP
  120. *%%% ======================
  121.  
  122. *%%% ======================
  123. *%%% JOB_SETUP.1
  124. *%%% START PLJ JOB
  125. *%%% PAGEPROTECT
  126. *%%% TIMEOUT
  127. *Feature: PageProtect
  128. {
  129.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  130.     *DefaultOption: OFF
  131.     *Option: ON
  132.     {
  133.         *rcNameID: =ON_DISPLAY
  134.         *Command: CmdSelect
  135.         {
  136.             *Order: JOB_SETUP.1
  137.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  138.         }
  139.     }
  140.     *Option: OFF
  141.     {
  142.         *rcNameID: =OFF_DISPLAY
  143.         *Command: CmdSelect
  144.         {
  145.             *Order: JOB_SETUP.1
  146.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  147.         }
  148.     }
  149. }
  150. *%%% ======================
  151. *%%% JOB_SETUP.2
  152. *%%% ECONOMODE
  153. *Feature: Economode
  154. {
  155.     *rcNameID: =ECONOMODE_DISPLAY
  156.     *DefaultOption: Option1
  157.     *Option: Option1
  158.     {
  159.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  160.     }
  161.     *Option: Option2
  162.     {
  163.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  164.         *Command: CmdSelect
  165.         {
  166.             *Order: JOB_SETUP.2
  167.             *Cmd: =PJL_ECONOMODE_OFF
  168.         }
  169.     }
  170.     *Option: Option3
  171.     {
  172.         *rcNameID: =ECONOMODE_ON_DISPLAY
  173.         *Command: CmdSelect
  174.         {
  175.             *Order: JOB_SETUP.2
  176.             *Cmd: =PJL_ECONOMODE_ON
  177.         }
  178.     }
  179. }
  180.  
  181. *%%% ======================
  182. *%%% JOB_SETUP.3
  183. *%%% RET
  184. *Feature: RET
  185. {
  186.     *rcNameID: =PRINT_QUALITY
  187.     *DefaultOption: Option1
  188.     *Option: Option1
  189.     {
  190.         *rcNameID: =PRINT_QUALITY_DEFAULT
  191.     }
  192.     *Option: Option2
  193.     {
  194.         *rcNameID: =PRINT_QUALITY_LIGHT
  195.         *Command: CmdSelect
  196.         {
  197.             *Order: JOB_SETUP.3
  198.             *Cmd: =PJL_RET_LIGHT
  199.         }
  200.     }
  201.     *Option: Option3
  202.     {
  203.         *rcNameID: =PRINT_QUALITY_MEDIUM
  204.         *Command: CmdSelect
  205.         {
  206.             *Order: JOB_SETUP.3
  207.             *Cmd: =PJL_RET_MEDIUM
  208.         }
  209.     }
  210.     *Option: Option4
  211.     {
  212.         *rcNameID: =PRINT_QUALITY_DARK
  213.         *Command: CmdSelect
  214.         {
  215.             *Order: JOB_SETUP.3
  216.             *Cmd: =PJL_RET_DARK
  217.         }
  218.     }
  219.     *Option: Option5
  220.     {
  221.         *rcNameID: =PRINT_QUALITY_OFF
  222.         *Command: CmdSelect
  223.         {
  224.             *Order: JOB_SETUP.3
  225.             *Cmd: =PJL_RET_OFF
  226.         }
  227.     }
  228. }
  229.  
  230. *%%% ======================
  231. *%%% JOB_SETUP.4
  232. *%%% Collate
  233. *Feature: Collate
  234. {
  235.     *rcNameID: =COLLATOR_DISPLAY *% this shouldn't appear...
  236.  
  237.     *DefaultOption: OFF
  238.     *Option: ON
  239.     {
  240.         *rcNameID: =ON_DISPLAY
  241.        *switch: PrinterHardDisk
  242.         {
  243.            *case: FALSE
  244.      {
  245.  
  246.        *Switch:  Memory  *% need 16MB to collate w/o harddisk
  247.         {
  248.               *Case: 4MB
  249.                  {
  250.              *Command: CmdSelect
  251.                             {
  252.                               *Order: JOB_SETUP.4
  253.                               *Cmd: =PJL_COLLATE_OFF
  254.                              }
  255.            }
  256.                            *Case: 8MB
  257.            {
  258.                  *Command: CmdSelect
  259.                            {
  260.                               *Order: JOB_SETUP.4
  261.                               *Cmd: =PJL_COLLATE_OFF
  262.                           }
  263.                        }
  264.                           *Case: 12MB
  265.            {
  266.                  *Command: CmdSelect
  267.                            {
  268.                               *Order: JOB_SETUP.4
  269.                               *Cmd: =PJL_COLLATE_OFF
  270.                           }
  271.                        }
  272.         *default
  273.            {
  274.                  *Command: CmdSelect
  275.                            {
  276.                               *Order: JOB_SETUP.4
  277.                               *Cmd: =PJL_COLLATE_ON
  278.                           }
  279.                        }
  280.          }
  281.              }
  282.             *case: TRUE
  283.             {
  284.                 *Command: CmdSelect
  285.                 {
  286.                     *Order: JOB_SETUP.4
  287.                     *Cmd: =PJL_COLLATE_ON
  288.                 }
  289.             }
  290.         }
  291.     }
  292.     *Option: OFF
  293.     {
  294.         *rcNameID:=OFF_DISPLAY
  295.         *Command: CmdSelect
  296.         {
  297.             *Order: JOB_SETUP.4
  298.             *Cmd: =PJL_COLLATE_OFF
  299.         }
  300.     }
  301. }
  302.  
  303. *Feature: JobRetention
  304. {
  305.     *rcNameID: =JOB_RETENTION_DISPLAY *% Job Retention
  306.     *DefaultOption: Option1
  307.     *Option: Option1
  308.     {
  309.         *rcNameID: =OFF_DISPLAY
  310.         *Command: CmdSelect
  311.         {
  312.             *Order: JOB_SETUP.3
  313.             *Cmd: "@PJL SET HOLD=OFF<0A>"
  314.         }
  315.     }
  316.     *Option: Option2
  317.     {
  318.         *rcNameID: =QUICK_COPY_DISPLAY
  319.         *Command: CmdSelect
  320.         {
  321.             *Order: JOB_SETUP.3
  322.             *Cmd: "@PJL SET HOLD=ON<0A>"
  323.         }
  324.     }
  325.     *Option: Option3
  326.     {
  327.         *rcNameID: =PROOF_HOLD_DISPLAY
  328.         *Command: CmdSelect
  329.         {
  330.            *Order: JOB_SETUP.3
  331.             *Cmd: "@PJL SET HOLD=PROOF<0A>"
  332.         }
  333.     }
  334.     *Option: Option4
  335.     {
  336.         *rcNameID: =STORE_JOB_DISPLAY
  337.         *Command: CmdSelect
  338.         {
  339.             *Order: JOB_SETUP.3
  340.             *Cmd: "@PJL SET HOLD=STORE<0A>"
  341.          }
  342.       }
  343. }
  344.  
  345. *Feature: JobRetentionUserID
  346. {
  347.     *rcNameID: =JOB_RETENTION_USERID_DISPLAY *%"Job Retention User ID"
  348.     *DefaultOption: Option1
  349.     *Option: Option1
  350.     {
  351.         *Name: "1"
  352.         *Command: CmdSelect
  353.         {
  354.             *Order: JOB_SETUP.3
  355.             *Cmd: "@PJL SET USERNAME=<22>1<22><0A>"
  356.         }
  357.     }
  358.     *Option: Option2
  359.     {
  360.         *Name: "2"
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: JOB_SETUP.3
  364.             *Cmd: "@PJL SET USERNAME=<22>2<22><0A>"
  365.         }
  366.     }
  367.     *Option: Option3
  368.     {
  369.         *Name: "3"
  370.         *Command: CmdSelect
  371.         {
  372.             *Order: JOB_SETUP.3
  373.             *Cmd: "@PJL SET USERNAME=<22>3<22><0A>"
  374.         }
  375.     }
  376.     *Option: Option4
  377.     {
  378.         *Name: "4"
  379.         *Command: CmdSelect
  380.         {
  381.             *Order: JOB_SETUP.3
  382.             *Cmd: "@PJL SET USERNAME=<22>4<22><0A>"
  383.         }
  384.     }
  385.     *Option: Option5
  386.     {
  387.         *Name: "5"
  388.         *Command: CmdSelect
  389.         {
  390.             *Order: JOB_SETUP.3
  391.             *Cmd: "@PJL SET USERNAME=<22>5<22><0A>"
  392.         }
  393.     }
  394.     *Option: Option6
  395.     {
  396.         *Name: "6"
  397.         *Command: CmdSelect
  398.         {
  399.             *Order: JOB_SETUP.3
  400.             *Cmd: "@PJL SET USERNAME=<22>6<22><0A>"
  401.         }
  402.     }
  403.     *Option: Option7
  404.     {
  405.         *Name: "7"
  406.         *Command: CmdSelect
  407.         {
  408.             *Order: JOB_SETUP.3
  409.             *Cmd: "@PJL SET USERNAME=<22>7<22><0A>"
  410.         }
  411.     }
  412.     *Option: Option8
  413.     {
  414.         *Name: "8"
  415.         *Command: CmdSelect
  416.         {
  417.             *Order: JOB_SETUP.3
  418.             *Cmd: "@PJL SET USERNAME=<22>8<22><0A>"
  419.         }
  420.     }
  421.     *Option: Option9
  422.     {
  423.         *Name: "9"
  424.         *Command: CmdSelect
  425.         {
  426.             *Order: JOB_SETUP.3
  427.             *Cmd: "@PJL SET USERNAME=<22>9<22><0A>"
  428.         }
  429.     }
  430.     *Option: Option10
  431.     {
  432.         *Name: "10"
  433.         *Command: CmdSelect
  434.         {
  435.             *Order: JOB_SETUP.3
  436.             *Cmd: "@PJL SET USERNAME=<22>10<22><0A>"
  437.         }
  438.     }
  439.     *Option: Option11
  440.     {
  441.         *Name: "11"
  442.         *Command: CmdSelect
  443.         {
  444.             *Order: JOB_SETUP.3
  445.             *Cmd: "@PJL SET USERNAME=<22>11<22><0A>"
  446.         }
  447.     }
  448.     *Option: Option12
  449.     {
  450.         *Name: "12"
  451.         *Command: CmdSelect
  452.         {
  453.             *Order: JOB_SETUP.3
  454.             *Cmd: "@PJL SET USERNAME=<22>12<22><0A>"
  455.         }
  456.     }
  457.     *Option: Option13
  458.     {
  459.         *Name: "13"
  460.         *Command: CmdSelect
  461.         {
  462.             *Order: JOB_SETUP.3
  463.             *Cmd: "@PJL SET USERNAME=<22>13<22><0A>"
  464.         }
  465.     }
  466.     *Option: Option14
  467.     {
  468.         *Name: "14"
  469.         *Command: CmdSelect
  470.         {
  471.             *Order: JOB_SETUP.3
  472.             *Cmd: "@PJL SET USERNAME=<22>14<22><0A>"
  473.         }
  474.     }
  475.     *Option: Option15
  476.     {
  477.         *Name: "15"
  478.         *Command: CmdSelect
  479.         {
  480.             *Order: JOB_SETUP.3
  481.             *Cmd: "@PJL SET USERNAME=<22>15<22><0A>"
  482.         }
  483.     }
  484.     *Option: Option16
  485.     {
  486.         *Name: "16"
  487.         *Command: CmdSelect
  488.         {
  489.             *Order: JOB_SETUP.3
  490.             *Cmd: "@PJL SET USERNAME=<22>16<22><0A>"
  491.         }
  492.     }
  493.     *Option: Option17
  494.     {
  495.         *Name: "17"
  496.         *Command: CmdSelect
  497.         {
  498.             *Order: JOB_SETUP.3
  499.             *Cmd: "@PJL SET USERNAME=<22>17<22><0A>"
  500.         }
  501.     }
  502.     *Option: Option18
  503.     {
  504.         *Name: "18"
  505.         *Command: CmdSelect
  506.         {
  507.             *Order: JOB_SETUP.3
  508.             *Cmd: "@PJL SET USERNAME=<22>18<22><0A>"
  509.         }
  510.     }
  511.     *Option: Option19
  512.     {
  513.         *Name: "19"
  514.         *Command: CmdSelect
  515.         {
  516.             *Order: JOB_SETUP.3
  517.             *Cmd: "@PJL SET USERNAME=<22>19<22><0A>"
  518.         }
  519.     }
  520.     *Option: Option20
  521.     {
  522.         *Name: "20"
  523.         *Command: CmdSelect
  524.         {
  525.             *Order: JOB_SETUP.3
  526.             *Cmd: "@PJL SET USERNAME=<22>20<22><0A>"
  527.         }
  528.     }
  529. }
  530.  
  531. *% constrain all but option 1 when no hard disk installed
  532. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option2)
  533. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option3)
  534. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option4)
  535.  
  536. *% constrain all but option 1 when no hard disk installed
  537. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option2)
  538. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option3)
  539. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option4)
  540. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option5)
  541. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option6)
  542. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option7)
  543. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option8)
  544. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option9)
  545. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option10)
  546. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option11)
  547. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option12)
  548. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option13)
  549. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option14)
  550. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option15)
  551. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option16)
  552. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option17)
  553. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option18)
  554. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option19)
  555. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option20)
  556.  
  557. *%%% ======================
  558. *%%% JOB_SETUP.5
  559. *%%%     RESOLUTION
  560. *%%%     ENTER LANGUAGE=PCLXL
  561. *%%%     PCL XL Stream Header
  562. *%%%     BeginSession
  563. *%%% CmdEndRaster
  564. *%%%     EndImage
  565. *%%% CmdSendBlockData
  566. *%%%     EndImage
  567. *Feature: Resolution
  568. {
  569.     *rcNameID: =RESOLUTION_DISPLAY
  570.     *DefaultOption: Option1
  571.  
  572.     *Option: Option1
  573.     {
  574.         *Name: "600 x 600 " =DOTS_PER_INCH
  575.         *DPI: PAIR(600, 600)
  576.         *TextDPI: PAIR(600, 600)
  577.         *MinStripBlankPixels: 32
  578.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  579.         *SpotDiameter: 100
  580.         *Command: CmdBeginRaster
  581.         {
  582.             *Cmd : =PCLXL_CmdBeginRaster
  583.         }
  584.  
  585.         *Command: CmdEndRaster { *Cmd : =EndImage }
  586.         *Command: CmdSendBlockData
  587.         {
  588.             *Cmd: =PCLXL_CmdSendBlockData
  589.         }
  590.  
  591.         *Command: CmdSelect
  592.         {
  593.             *Order: JOB_SETUP.5
  594.             *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
  595.         }
  596.     }
  597.     *Option: Option2
  598.     {
  599.         *Name: "300 x 300 " =DOTS_PER_INCH
  600.         *DPI: PAIR(300, 300)
  601.         *TextDPI: PAIR(300, 300)
  602.         *MinStripBlankPixels: 32
  603.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  604.         *SpotDiameter: 100
  605.         *Command: CmdBeginRaster
  606.         {
  607.             *Cmd : =PCLXL_CmdBeginRaster
  608.         }
  609.  
  610.         *Command: CmdEndRaster { *Cmd : =EndImage }
  611.         *Command: CmdSendBlockData
  612.         {
  613.             *Cmd: =PCLXL_CmdSendBlockData
  614.         }
  615.  
  616.         *Command: CmdSelect
  617.         {
  618.             *Order: JOB_SETUP.5
  619.             *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
  620.         }
  621.     }
  622. }
  623.  
  624. *%%% ======================
  625. *%%% JOB_SETUP.6
  626. *%%% OpenDataSource(0x48)
  627. *%%%     SourceType(ubyte) & DataOrg(ubyte)
  628. *%%%     136(0x88)           130(0x82)
  629. *Command: CmdStartDoc
  630. {
  631.     *Order: JOB_SETUP.6
  632.     *Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  633. }
  634.  
  635. *%%% ======================
  636. *%%% PAGE_FINISH
  637. *%%% ======================
  638.  
  639. *%%% ======================
  640. *%%% PAGE_FINISH.3
  641. *Command: CmdEndPage
  642. {
  643.     *Order: PAGE_FINISH.1
  644.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  645. }
  646.  
  647. *%%% ======================
  648. *%%% JOB_FINISH.1
  649. *%%% CmdEndJob
  650. *Command: CmdEndJob
  651. {
  652.     *Order: JOB_FINISH.1
  653.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  654. }
  655.  
  656. *%%% ======================
  657. *%%% PAGE_SETUP
  658. *%%% ======================
  659.  
  660. *%%% ======================
  661. *%%% PAGE_SETUP.1
  662. *%%% BeginPage(0x43)
  663. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  664. *%%%     ubyte            ubyte          ubyte
  665.  
  666. *BlockMacro: PaperConstraints
  667. {
  668.     *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  669. }
  670.  
  671. *Feature: PaperSize
  672. {
  673.     *rcNameID: =PAPER_SIZE_DISPLAY
  674.     *DefaultOption: LETTER
  675.     *Option: A3
  676.     {
  677.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  678.         *PageProtectMem: 9667
  679.         *Constraints: InputBin.Option6
  680.         *Constraints: InputBin.Option6
  681.         *switch: Orientation
  682.         {
  683.             *case: PORTRAIT
  684.             {
  685.                 *PrintableArea: PAIR(13428, 19308)
  686.                 *PrintableOrigin: PAIR(300, 300)
  687.                 *CursorOrigin: PAIR(300, 180)
  688.                 *Command: CmdSelect
  689.                 {
  690.                     *Order: PAGE_SETUP.1
  691.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  692. +                         =ubyte =eA3Paper =attr_ubyte =MediaSize =BeginPage
  693. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  694.                 }
  695.             }
  696.             *case: LANDSCAPE_CC90
  697.             {
  698.                 *PrintableArea: PAIR(13588, 19368)
  699.                 *PrintableOrigin: PAIR(200, 240)
  700.                 *CursorOrigin: PAIR(200, 19608)
  701.                 *Command: CmdSelect
  702.                 {
  703.                     *Order: PAGE_SETUP.1
  704.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  705. +                         =ubyte =eA3Paper =attr_ubyte =MediaSize =BeginPage
  706. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((240*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  707.                 }
  708.             }
  709.         }
  710.     }
  711.  
  712.  
  713.  
  714.     *Option: A5
  715.     {
  716.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  717.         *Constraints: InputBin.Option6
  718.         *PageProtectMem: 2125
  719.         *switch: Orientation
  720.         {
  721.             *case: PORTRAIT
  722.             {
  723.                 *PrintableArea: PAIR(6396, 9372)
  724.                 *PrintableOrigin: PAIR(300, 300)
  725.                 *CursorOrigin: PAIR(300, 160)
  726.                 *Command: CmdSelect
  727.                 {
  728.                     *Order: PAGE_SETUP.1
  729.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  730. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  731. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  732.                 }
  733.             }
  734.             *case: LANDSCAPE_CC90
  735.             {
  736.                 *PrintableArea: PAIR(6396, 9324)
  737.                 *PrintableOrigin: PAIR(300, 300)
  738.                 *CursorOrigin: PAIR(260, 9624)
  739.                 *Command: CmdSelect
  740.                 {
  741.                     *Order: PAGE_SETUP.1
  742.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  743. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  744. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  745.                 }
  746.             }
  747.         }
  748.     }
  749.     *Option: LETTER
  750.     {
  751.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  752.         *Constraints: InputBin.Option6
  753.         *PageProtectMem: 4109
  754.         *switch: Orientation
  755.         {
  756.             *case: PORTRAIT
  757.             {
  758.                 *PrintableArea: PAIR(9600, 12600)
  759.                 *PrintableOrigin: PAIR(300, 300)
  760.                 *CursorOrigin: PAIR(300, 160)
  761.                 *Command: CmdSelect
  762.                 {
  763.                     *Order: PAGE_SETUP.1
  764.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  765. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  766. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  767.                 }
  768.             }
  769.             *case: LANDSCAPE_CC90
  770.             {
  771.                 *PrintableArea: PAIR(9760, 12600)
  772.                 *PrintableOrigin: PAIR(200, 300)
  773.                 *CursorOrigin: PAIR(200, 12900)
  774.                 *Command: CmdSelect
  775.                 {
  776.                     *Order: PAGE_SETUP.1
  777.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  778. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  779. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  780.                 }
  781.             }
  782.         }
  783.     }
  784.     *Option: LEGAL
  785.     {
  786.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  787.         *Constraints: InputBin.Option6
  788.         *PageProtectMem: 5230
  789.         *switch: Orientation
  790.         {
  791.             *case: PORTRAIT
  792.             {
  793.                 *PrintableArea: PAIR(9600, 16200)
  794.                 *PrintableOrigin: PAIR(300, 300)
  795.                 *CursorOrigin: PAIR(300, 160)
  796.                 *Command: CmdSelect
  797.                 {
  798.                     *Order: PAGE_SETUP.1
  799.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  800. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  801. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  802.                 }
  803.             }
  804.             *case: LANDSCAPE_CC90
  805.             {
  806.                 *PrintableArea: PAIR(9760, 16200)
  807.                 *PrintableOrigin: PAIR(200, 300)
  808.                 *CursorOrigin: PAIR(200, 16500)
  809.                 *Command: CmdSelect
  810.                 {
  811.                     *Order: PAGE_SETUP.1
  812.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  813. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  814. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  815.                 }
  816.             }
  817.         }
  818.     }
  819.     *Option: EXECUTIVE
  820.     {
  821.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  822.         *Constraints: InputBin.Option6
  823.         *PageProtectMem: 4109
  824.         *switch: Orientation
  825.         {
  826.             *case: PORTRAIT
  827.             {
  828.                 *PrintableArea: PAIR(8100, 12000)
  829.                 *PrintableOrigin: PAIR(300, 300)
  830.                 *CursorOrigin: PAIR(300, 160)
  831.                 *Command: CmdSelect
  832.                 {
  833.                     *Order: PAGE_SETUP.1
  834.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  835. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  836. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  837.                 }
  838.             }
  839.             *case: LANDSCAPE_CC90
  840.             {
  841.                 *PrintableArea: PAIR(8180, 12000)
  842.                 *PrintableOrigin: PAIR(220, 300)
  843.                 *CursorOrigin: PAIR(200, 12300)
  844.                 *Command: CmdSelect
  845.                 {
  846.                     *Order: PAGE_SETUP.1
  847.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  848. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  849. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  850.                 }
  851.             }
  852.         }
  853.     }
  854.  
  855.     *Option: A4
  856.     {
  857.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  858.         *Constraints: InputBin.Option6
  859.         *PageProtectMem: 4249
  860.         *switch: Orientation
  861.         {
  862.             *case: PORTRAIT
  863.             {
  864.                 *PrintableArea: PAIR(9352, 13400)
  865.                 *PrintableOrigin: PAIR(260, 300)
  866.                 *CursorOrigin: PAIR(260, 160)
  867.                 *Command: CmdSelect
  868.                 {
  869.                     *Order: PAGE_SETUP.1
  870.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  871. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  872. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  873.                 }
  874.             }
  875.             *case: LANDSCAPE_CC90
  876.             {
  877.                 *PrintableArea: PAIR(9424, 13428)
  878.                 *PrintableOrigin: PAIR(200, 300)
  879.                 *CursorOrigin: PAIR(200, 13728)
  880.                 *Command: CmdSelect
  881.                 {
  882.                     *Order: PAGE_SETUP.1
  883.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  884. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  885. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  886.                 }
  887.             }
  888.         }
  889.     }
  890.  
  891.     *Option: B5
  892.     {
  893.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  894.         *PageProtectMem: 3198
  895.         *Constraints: InputBin.Option6
  896.         *switch: Orientation
  897.         {
  898.             *case: PORTRAIT
  899.             {
  900.                 *PrintableArea: PAIR(7964, 11714)
  901.                 *PrintableOrigin: PAIR(340, 152)
  902.                 *CursorOrigin: PAIR(200, 152)
  903.                 *Command: CmdSelect
  904.                 {
  905.                     *Order: PAGE_SETUP.1
  906.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  907. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  908. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((152*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  909.                 }
  910.             }
  911.             *case: LANDSCAPE_CC90
  912.             {
  913.                 *PrintableArea: PAIR(8104, 11624)
  914.                 *PrintableOrigin: PAIR(260, 240)
  915.                 *CursorOrigin: PAIR(200, 11904)
  916.                 *Command: CmdSelect
  917.                 {
  918.                     *Order: PAGE_SETUP.1
  919.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  920. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  921. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((280*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  922.                 }
  923.             }
  924.         }
  925.     }
  926.     *Option: ENV_10
  927.     {
  928.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  929.         *InsertBlock: =PaperConstraints
  930.         *Constraints: Duplex.VERTICAL
  931.         *Constraints: Duplex.HORIZONTAL
  932.         *PageProtectMem: 4109
  933.         *switch: Orientation
  934.         {
  935.             *case: PORTRAIT
  936.             {
  937.                 *PrintableArea: PAIR(4346, 10800)
  938.                 *PrintableOrigin: PAIR(300, 300)
  939.                 *switch: Resolution
  940.                 {
  941.                     *case: Option1
  942.                     {
  943.                         *PrintableArea: PAIR(4344, 10800)
  944.                     }
  945.                 }
  946.                 *CursorOrigin: PAIR(300, 180)
  947.                 *Command: CmdSelect
  948.                 {
  949.                     *Order: PAGE_SETUP.1
  950.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  951. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  952. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  953.                 }
  954.             }
  955.             *case: LANDSCAPE_CC90
  956.             {
  957.                 *PrintableArea: PAIR(4476, 10800)
  958.                 *PrintableOrigin: PAIR(200, 300)
  959.                 *CursorOrigin: PAIR(200, 11100)
  960.                 *Command: CmdSelect
  961.                 {
  962.                     *Order: PAGE_SETUP.1
  963.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  964. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  965. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  966.                 }
  967.             }
  968.         }
  969.     }
  970.     *Option: ENV_DL
  971.     {
  972.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  973.         *InsertBlock: =PaperConstraints
  974.         *Constraints: Duplex.VERTICAL
  975.         *Constraints: Duplex.HORIZONTAL
  976.         *PageProtectMem: 4109
  977.         *switch: Orientation
  978.         {
  979.             *case: PORTRAIT
  980.             {
  981.                 *PrintableArea: PAIR(4576, 9792)
  982.                 *PrintableOrigin: PAIR(300, 300)
  983.                 *CursorOrigin: PAIR(300, 180)
  984.                 *Command: CmdSelect
  985.                 {
  986.                     *Order: PAGE_SETUP.1
  987.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  988. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  989. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  990.                 }
  991.             }
  992.             *case: LANDSCAPE_CC90
  993.             {
  994.                 *PrintableArea: PAIR(4796, 9792)
  995.                 *PrintableOrigin: PAIR(200, 300)
  996.                 *CursorOrigin: PAIR(200, 10092)
  997.                 *Command: CmdSelect
  998.                 {
  999.                     *Order: PAGE_SETUP.1
  1000.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1001. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  1002. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1003.                 }
  1004.             }
  1005.         }
  1006.     }
  1007.     *Option: ENV_C5
  1008.     {
  1009.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  1010.         *InsertBlock: =PaperConstraints
  1011.         *Constraints: Duplex.VERTICAL
  1012.         *Constraints: Duplex.HORIZONTAL
  1013.         *PageProtectMem: 4109
  1014.         *switch: Orientation
  1015.         {
  1016.             *case: PORTRAIT
  1017.             {
  1018.                 *PrintableArea: PAIR(7036, 10214)
  1019.                 *PrintableOrigin: PAIR(300, 300)
  1020.                 *switch: Resolution
  1021.                 {
  1022.                     *case: Option2
  1023.                     {
  1024.                         *PrintableArea: PAIR(7036, 10212)
  1025.                     }
  1026.                 }
  1027.                 *CursorOrigin: PAIR(300, 180)
  1028.                 *Command: CmdSelect
  1029.                 {
  1030.                     *Order: PAGE_SETUP.1
  1031.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1032. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1033. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1034.                 }
  1035.             }
  1036.             *case: LANDSCAPE_CC90
  1037.             {
  1038.                 *PrintableArea: PAIR(7116, 10224)
  1039.                 *PrintableOrigin: PAIR(240, 300)
  1040.                 *CursorOrigin: PAIR(200, 10524)
  1041.                 *Command: CmdSelect
  1042.                 {
  1043.                     *Order: PAGE_SETUP.1
  1044.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1045. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1046. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1047.                 }
  1048.             }
  1049.         }
  1050.     }
  1051.  
  1052.   
  1053.  
  1054.     *Option: ENV_MONARCH
  1055.     {
  1056.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  1057.         *InsertBlock: =PaperConstraints
  1058.         *Constraints: Duplex.VERTICAL
  1059.         *Constraints: Duplex.HORIZONTAL
  1060.         *PageProtectMem: 4109
  1061.         *switch: Orientation
  1062.         {
  1063.             *case: PORTRAIT
  1064.             {
  1065.                 *PrintableArea: PAIR(4046, 8400)
  1066.                 *PrintableOrigin: PAIR(300, 300)
  1067.                 *switch: Resolution
  1068.                 {
  1069.                     *case: Option2
  1070.                     {
  1071.                         *PrintableArea: PAIR(4044, 8400)
  1072.                     }
  1073.                 }
  1074.                 *CursorOrigin: PAIR(300, 180)
  1075.                 *Command: CmdSelect
  1076.                 {
  1077.                     *Order: PAGE_SETUP.1
  1078.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1079. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1080. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1081.                 }
  1082.             }
  1083.             *case: LANDSCAPE_CC90
  1084.             {
  1085.                 *PrintableArea: PAIR(4076, 8400)
  1086.                 *PrintableOrigin: PAIR(300, 300)
  1087.                 *CursorOrigin: PAIR(200, 8700)
  1088.                 *Command: CmdSelect
  1089.                 {
  1090.                     *Order: PAGE_SETUP.1
  1091.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1092. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1093. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1094.                 }
  1095.             }
  1096.         }
  1097.     }
  1098.     *Option: ENV_B5
  1099.     {
  1100.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1101.         *PageProtectMem: 4109
  1102.         *InsertBlock: =PaperConstraints
  1103.         *Constraints: Duplex.VERTICAL
  1104.         *Constraints: Duplex.HORIZONTAL
  1105.         *switch: Orientation
  1106.         {
  1107.             *case: PORTRAIT
  1108.             {
  1109.                 *PrintableArea: PAIR(7716, 11368)
  1110.                 *PrintableOrigin: PAIR(300, 140)
  1111.                 *CursorOrigin: PAIR(300, 140)
  1112.                 *Command: CmdSelect
  1113.                 {
  1114.                     *Order: PAGE_SETUP.1
  1115.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1116. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1117. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((140*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1118.                 }
  1119.             }
  1120.             *case: LANDSCAPE_CC90
  1121.             {
  1122.                 *PrintableArea: PAIR(7776, 11208)
  1123.                 *PrintableOrigin: PAIR(240, 300)
  1124.                 *CursorOrigin: PAIR(200, 11508)
  1125.                 *Command: CmdSelect
  1126.                 {
  1127.                     *Order: PAGE_SETUP.1
  1128.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1129. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1130. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1131.                 }
  1132.             }
  1133.         }
  1134.     }
  1135.  
  1136.  
  1137.    *Option: FOLIO 
  1138.     { 
  1139.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
  1140.         *PrintableArea: PAIR(9600, 15200)
  1141.         *PrintableOrigin: PAIR(200, 200)
  1142.         *switch: Orientation
  1143.         {
  1144.             *case: PORTRAIT
  1145.             {
  1146.                 *CursorOrigin: PAIR(200, 200)
  1147.                 *Command: CmdSelect 
  1148.                 { 
  1149.                     *Order: JOB_SETUP.2 
  1150.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation 
  1151. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1152. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1153.                 } 
  1154.              } 
  1155.              *case: LANDSCAPE_CC90
  1156.              {
  1157.                 *CursorOrigin: PAIR(200, 15400)
  1158.                 *Command: CmdSelect
  1159.                 {
  1160.                     *Order: JOB_SETUP.2 
  1161.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation 
  1162. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1163. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1164.                 }
  1165.             }
  1166.         }
  1167.     }
  1168.  
  1169.  
  1170.  
  1171.     *Option: CUSTOMSIZE
  1172.     {
  1173.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  1174.         *MinSize: PAIR(3600, 6000)
  1175.         *MaxSize: PAIR(10200, 32767)
  1176.         *MaxPrintableWidth: 10200
  1177.         *MinLeftMargin: 100
  1178.         *CenterPrintable?: FALSE
  1179.         *PageProtectMem: 1692
  1180.         *switch: Orientation
  1181.         {
  1182.             *case: PORTRAIT
  1183.             {
  1184.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1185.                 *CustCursorOriginY:   %d{140 }
  1186.                 *CustPrintableOriginX:  %d{300 }
  1187.                 *CustPrintableOriginY:  %d{300}
  1188.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  1189.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  1190.                 *Command: CmdSelect
  1191.                 {
  1192.                     *Order: PAGE_SETUP.1
  1193.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1194. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1195. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1196. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1197.                 }
  1198.             }
  1199.             *case: LANDSCAPE_CC90
  1200.             {
  1201.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1202.                 *CustCursorOriginY:   %d{16560 }
  1203.                 *CustPrintableOriginX:  %d{200 }
  1204.                 *CustPrintableOriginY:  %d{240}
  1205.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  1206.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1207.                 *Command: CmdSelect
  1208.                 {
  1209.                     *Order: PAGE_SETUP.1
  1210.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1211. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1212. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1213. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1214.                 }
  1215.             }
  1216.         }
  1217.     }
  1218. }
  1219.  
  1220. *%%% ======================
  1221. *%%% PAGE_SETUP.2
  1222. *%%% BeginPage(0x43)
  1223. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1224. *%%%     ubyte               ubyte             ubyte
  1225. *%%%     MediaSource
  1226. *Feature: InputBin{ *Option: Option1{} *Option: Option7{} *Option: UPPER{} *Option: LOWER{} *Option: MANUAL{}}
  1227. *Feature: InputBin
  1228. {
  1229.     *rcNameID: =PAPER_SOURCE_DISPLAY
  1230.     *DefaultOption: Option1
  1231.     *Option: Option1
  1232.     {
  1233.         *rcNameID: =AUTO_SELECT_DISPLAY  *% Automatically Select
  1234.         *Command: CmdSelect
  1235.         {
  1236.             *Order: PAGE_SETUP.2
  1237.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1238.         }
  1239.     }
  1240.     *Option: UPPER
  1241.     {
  1242.         *rcNameID: =TRAY2_DISPLAY *% Upper Paper tray
  1243.         *Command: CmdSelect
  1244.         {
  1245.             *Order: PAGE_SETUP.2
  1246.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1247.         }
  1248.     }
  1249.     *Option: MANUAL
  1250.     {
  1251.         *rcNameID: =MANUAL_FEED_TRAY1_DISPLAY *% Manual Paper feed
  1252.         *Command: CmdSelect
  1253.         {
  1254.             *Order: PAGE_SETUP.2
  1255.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1256.         }
  1257.     }
  1258.  
  1259.     *Option: LOWER
  1260.     {
  1261.         *rcNameID: =TRAY3_DISPLAY *% Lower Paper tray
  1262.         *Command: CmdSelect
  1263.         {
  1264.             *Order: PAGE_SETUP.2
  1265.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1266.         }
  1267.     }
  1268.     *Option: Option7
  1269.     {
  1270.         *rcNameID: =TRAY1_DISPLAY  *% MP Tray
  1271.         *Command: CmdSelect
  1272.         {
  1273.             *Order: PAGE_SETUP.2
  1274.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1275.         }
  1276.     }
  1277. }
  1278.  
  1279. *%Following Papersizes cannot be duplexed
  1280. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_10)
  1281. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_DL)
  1282. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_C5)
  1283. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_MONARCH)
  1284. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_B5)
  1285. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1286. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1287. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1288. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1289. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1290.  
  1291. *%UPPER Paper Tray Constraints
  1292. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1293. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1294. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1295. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1296. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1297.  
  1298. *%LOWER Paper Tray Constraints
  1299. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1300. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1301. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1302. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1303. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1304.  
  1305.  
  1306. *%%% ======================
  1307. *%%% PAGE_SETUP.3
  1308. *%%% BeginPage(0x43)
  1309. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1310. *%%%     ubyte               ubyte             ubyte
  1311. *%%%     MediaType
  1312. *Feature: MediaType
  1313. {
  1314.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1315.     *DefaultOption: AutoSelect
  1316.  
  1317.     *Option: AutoSelect
  1318.     {
  1319.         *rcNameID: =AUTO_SELECT_DISPLAY
  1320.     }
  1321.     *Option: Plain
  1322.     {
  1323.         *rcNameID: =PLAIN_DISPLAY
  1324.         *Command: CmdSelect
  1325.         {
  1326.             *Order: PAGE_SETUP.3
  1327.             *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1328.         }
  1329.     }
  1330.     *Option: Preprinted
  1331.     {
  1332.         *rcNameID: =PREPRINTED_DISPLAY
  1333.         *Command: CmdSelect
  1334.         {
  1335.             *Order: PAGE_SETUP.3
  1336.             *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1337.         }
  1338.     }
  1339.     *Option: Letterhead
  1340.     {
  1341.         *rcNameID: =LETTERHEAD_DISPLAY
  1342.         *Command: CmdSelect
  1343.         {
  1344.             *Order: PAGE_SETUP.3
  1345.             *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1346.         }
  1347.     }
  1348.     *Option: Transparency
  1349.     {
  1350.         *rcNameID: =TRANSPARENCY_DISPLAY
  1351.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1352.         *Command: CmdSelect
  1353.         {
  1354.             *Order: PAGE_SETUP.3
  1355.             *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1356.         }
  1357.     }
  1358.     *Option: Prepunched
  1359.     {
  1360.         *rcNameID: =PREPUNCHED_DISPLAY
  1361.         *Command: CmdSelect
  1362.         {
  1363.             *Order: PAGE_SETUP.3
  1364.             *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1365.         }
  1366.     }
  1367.     *Option: Labels
  1368.     {
  1369.         *rcNameID: =LABELS_DISPLAY
  1370.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1371.         *Command: CmdSelect
  1372.         {
  1373.             *Order: PAGE_SETUP.3
  1374.             *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1375.         }
  1376.     }
  1377.     *Option: Bond
  1378.     {
  1379.         *rcNameID: =BOND_DISPLAY
  1380.         *Command: CmdSelect
  1381.         {
  1382.             *Order: PAGE_SETUP.3
  1383.             *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1384.         }
  1385.     }
  1386.     *Option: Recycled
  1387.     {
  1388.         *rcNameID: =RECYCLED_DISPLAY
  1389.         *Command: CmdSelect
  1390.         {
  1391.             *Order: PAGE_SETUP.3
  1392.             *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1393.         }
  1394.     }
  1395.     *Option: Color
  1396.     {
  1397.         *rcNameID: =COLOR_DISPLAY
  1398.         *Command: CmdSelect
  1399.         {
  1400.             *Order: PAGE_SETUP.3
  1401.             *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1402.         }
  1403.     }
  1404.     *Option: CardStock
  1405.     {
  1406.         *rcNameID: =CARDSTOCK_DISPLAY
  1407.         *Command: CmdSelect
  1408.         {
  1409.             *Order: PAGE_SETUP.3
  1410.             *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1411.         }
  1412.     }
  1413.     *Option: Rough
  1414.     {
  1415.         *rcNameID: =ROUGH_DISPLAY
  1416.         *Command: CmdSelect
  1417.         {
  1418.             *Order: PAGE_SETUP.3
  1419.             *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1420.         }
  1421.     }
  1422. }
  1423.  
  1424. *%%% ======================
  1425. *%%% PAGE_SETUP.3
  1426. *%%% DuplexPageMode(53(0x35))
  1427. *Feature: Duplex
  1428. {
  1429.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1430.     *DefaultOption: NONE
  1431.     *Option: NONE
  1432.     {
  1433.         *rcNameID: =NONE_DISPLAY
  1434.         *Command: CmdSelect
  1435.         {
  1436.             *Order: JOB_SETUP.4
  1437.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1438.         }
  1439.     }
  1440.     *Option: VERTICAL
  1441.     {
  1442.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1443.         *Command: CmdSelect
  1444.         {
  1445.             *Order: JOB_SETUP.4
  1446.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1447.         }
  1448.     }
  1449.     *Option: HORIZONTAL
  1450.     {
  1451.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1452.         *Command: CmdSelect
  1453.         {
  1454.             *Order: JOB_SETUP.4
  1455.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1456.         }
  1457.     }
  1458. }
  1459.  
  1460. *%%% ======================
  1461. *%%% PAGE_SETUP.4
  1462. *%%% SetPageOrigin
  1463. *%%%     PageOrigin
  1464. *%%% SetPageScale
  1465. *Command: CmdStartPage
  1466. {
  1467.     *Order: PAGE_SETUP.4
  1468.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1469. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1470. }
  1471.  
  1472. *%%% ======================
  1473. *%%% PAGE_SETUP.5
  1474. *%%% Feature
  1475. *%%% Dither
  1476. *Feature: Dither
  1477. {
  1478.     *rcNameID: =DITHER_QUALITY_DISPLAY
  1479.     *DefaultOption: HIQUALITY
  1480.     *Option: HIQUALITY
  1481.     {
  1482.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1483.         *Command: CmdSelect
  1484.         {
  1485.             *Order: PAGE_SETUP.5
  1486.             *Cmd: ""
  1487.         }
  1488.     }
  1489.     *Option: LOQUALITY
  1490.     {
  1491.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1492.         *Command: CmdSelect
  1493.         {
  1494.             *Order: PAGE_SETUP.5
  1495.             *Cmd: ""
  1496.         }
  1497.     }
  1498. }
  1499.  
  1500.  
  1501. *%%% ======================
  1502. *%%% Feature
  1503. *%%% Memory
  1504. *Feature: Memory
  1505. {
  1506.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1507.     *DefaultOption: 32MB
  1508. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1509. *% Max memory 96 (+4 on board) = 100
  1510.         *MemConfigMB: PAIR(4, 3)
  1511.         *MemConfigMB: PAIR(8, 7)
  1512.         *MemConfigMB: PAIR(12, 10)
  1513.         *MemConfigMB: PAIR(16, 13)
  1514.         *MemConfigMB: PAIR(20, 17)
  1515.         *MemConfigMB: PAIR(24, 21)
  1516.         *MemConfigMB: PAIR(28, 24)
  1517.         *MemConfigMB: PAIR(32, 28)
  1518.         *MemConfigMB: PAIR(36, 31)
  1519.         *MemConfigMB: PAIR(40, 35)
  1520.         *MemConfigMB: PAIR(44, 39)
  1521.         *MemConfigMB: PAIR(48, 42)
  1522.         *MemConfigMB: PAIR(52, 46)
  1523.         *MemConfigMB: PAIR(56, 49)
  1524.         *MemConfigMB: PAIR(60, 52)
  1525.         *MemConfigMB: PAIR(68, 59)
  1526. }
  1527.  
  1528. *%%% ======================
  1529. *%%% Device fonts
  1530. *%%% ======================
  1531.  
  1532. *DefaultFont: =RC_FONT_COURIERR
  1533. *DefaultCTT: 0
  1534.  
  1535. *DeviceFonts: LIST(
  1536. +    =RC_FONT_ALBERTX,
  1537. +    =RC_FONT_AOLIVEB,
  1538. +    =RC_FONT_AOLIVER,
  1539. +    =RC_FONT_ARIALB,
  1540. +    =RC_FONT_ARIALI,
  1541. +    =RC_FONT_ARIALJ,
  1542. +    =RC_FONT_ARIALR,
  1543. +    =RC_FONT_COURIERB,
  1544. +    =RC_FONT_COURIERI,
  1545. +    =RC_FONT_COURIERJ,
  1546. +    =RC_FONT_COURIERR,
  1547. +    =RC_FONT_LETGOTHB,
  1548. +    =RC_FONT_LETGOTHI,
  1549. +    =RC_FONT_LETGOTHR,
  1550. +    =RC_FONT_MARGOLDR,
  1551. +    =RC_FONT_TIMESNRB,
  1552. +    =RC_FONT_TIMESNRI,
  1553. +    =RC_FONT_TIMESNRJ,
  1554. +    =RC_FONT_TIMESNRR,
  1555. +    =RC_FONT_WINGDINGS,
  1556. +    =RC_FONT_SYMBOL)
  1557.  
  1558. *TTFS: AlbertusX
  1559. {
  1560.   *TTFontName: "Albertus Extra Bold"
  1561.   *DevFontName: "Albertus Extra Bold"
  1562. }
  1563. *TTFS: AntiqueOlive
  1564. {
  1565.   *TTFontName: "Antique Olive"
  1566.   *DevFontName: "Antique Olive"
  1567. }
  1568. *TTFS: LetterGothic
  1569. {
  1570.   *TTFontName: "Letter Gothic"
  1571.   *DevFontName: "Letter Gothic"
  1572. }
  1573. *TTFS: Marigold
  1574. {
  1575.   *TTFontName: "Marigold"
  1576.   *DevFontName: "Marigold"
  1577. }
  1578.  
  1579.  
  1580. *%% =======================
  1581. *%% Optional Duplex Unit
  1582. *%% =======================
  1583. *Feature: DuplexUnit
  1584. {
  1585.     *FeatureType: PRINTER_PROPERTY
  1586.     *rcNameID: =DUPLEX_UNIT_DISPLAY
  1587.     *DefaultOption: Installed
  1588.     *Option: NotInstalled
  1589.     {
  1590.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1591.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1592.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1593.     }
  1594.  
  1595.     *Option: Installed
  1596.     {
  1597.         *rcNameID: =INSTALLED_DISPLAY
  1598.     }
  1599. }
  1600.  
  1601. *Feature: TRAY3
  1602. {
  1603.     *rcNameID: =TRAY3_DISPLAY
  1604.     *FeatureType: PRINTER_PROPERTY
  1605.     *DefaultOption: FALSE
  1606.     *Option: FALSE
  1607.     {
  1608.         *rcNameID: =NOT_INSTALLED_DISPLAY       
  1609.         *Constraints: LIST(InputBin.LOWER)
  1610.  
  1611.     }
  1612.     *Option: TRUE
  1613.     {
  1614.         *rcNameID: =INSTALLED_DISPLAY
  1615.     }
  1616. }
  1617.  
  1618. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1619.  
  1620.  
  1621. *%% =======================
  1622. *%% Optional Hard Disk
  1623. *%% =======================
  1624. *Feature: PrinterHardDisk
  1625. {
  1626.     *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1627.     *FeatureType: PRINTER_PROPERTY
  1628.     *DefaultOption: FALSE
  1629.     *Option: FALSE
  1630.     {
  1631.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1632.         *DisabledFeatures: LIST(Collate)
  1633.     }
  1634.     *Option: TRUE
  1635.     {
  1636.         *rcNameID: =INSTALLED_DISPLAY
  1637.     }
  1638. }
  1639.  
  1640.  
  1641. *%%% ======================
  1642. *%%% PCL XL GPD file main
  1643. *%%% ======================
  1644.  
  1645. *%%% ======================
  1646. *%%% Global Entries
  1647. *%%% Attributes
  1648. *%%% ======================
  1649. *MasterUnits: PAIR(1200, 1200)
  1650. *CodePage: 1252
  1651. *ResourceDLL: "pclxl.dll"
  1652. *PrinterType: PAGE
  1653. *Personality: =PERSONALITY_PCLXL
  1654. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1655. *%%% *rcPrinterIconID:
  1656.  
  1657. *%%% ======================
  1658. *%%% Printing attributes
  1659. *%%% ======================
  1660. *RotateCoordinate?: TRUE
  1661. *RotateRaster?: TRUE
  1662. *RotateFont?: TRUE
  1663. *EjectPageWithFF?: FALSE
  1664.  
  1665. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1666. *MemoryUsage: LIST(FONT)
  1667. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1668. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1669. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1670. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1671. *XMoveThreshold: 0
  1672. *YMoveThreshold: 0
  1673. *XMoveUnit: 1200
  1674. *YMoveUnit: 1200
  1675.  
  1676. *%%% *MinGrayFill: 1
  1677. *%%% *MaxGrayFill: 100
  1678.  
  1679. *%%% *OutputDataFormat: H_BYTE
  1680. *%%% *OptimizeLeftBound?: TRUE
  1681.  
  1682. *%%% ======================
  1683. *%%% Color
  1684. *%%% ======================
  1685. *Feature: ColorMode
  1686. {
  1687.     *ConcealFromUI?: TRUE
  1688.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1689.     *DefaultOption: Mono
  1690.     *Option: Mono
  1691.     {
  1692.         *rcNameID: =COLOR_DISPLAY
  1693.         *Color?: FALSE
  1694.         *DevNumOfPlanes: 1
  1695.         *DevBPP: 24
  1696.         *DrvBPP: 24
  1697.         *PaletteSize: 256
  1698.         *PaletteProgrammable?: FALSE
  1699.     }
  1700. }
  1701.  
  1702. *%%% ======================
  1703. *%%% TrueType fonts
  1704. *%%% ======================
  1705.  
  1706. *CharPosition: BASELINE
  1707. *TTFSEnabled?: TRUE
  1708. *FontFormat: OEM_CALLBACK
  1709. *MinFontID: 1
  1710. *MaxFontID: 65535
  1711. *MinGlyphID: 1
  1712. *MaxGlyphID: 1000
  1713.  
  1714. *%%% ======================
  1715. *%%% Cursor commands
  1716. *%%% ======================
  1717.  
  1718. *Command: CmdCR { *Cmd: =CR}
  1719. *Command: CmdLF { *Cmd: =LF}
  1720. *Command: CmdFF { *Cmd: =FF}
  1721.  
  1722. *%%% SetCursor(0x6b)
  1723. *%%%     Point(76(0x40c)) uint_16
  1724. *%%% SetCursorRel(0x6c)
  1725. *%%%     Point(76(0x40c)) uint_16
  1726. *Command: CmdXMoveAbsolute
  1727. {
  1728.     *Cmd: ""
  1729. }
  1730. *Command: CmdXMoveRelRight
  1731. {
  1732.     *Cmd: ""
  1733.     *Params: LIST(DestXRel, TextXRes)
  1734. }
  1735. *Command: CmdXMoveRelLeft
  1736. {
  1737.     *Cmd: ""
  1738.     *Params: LIST(DestXRel, TextXRes)
  1739. }
  1740. *Command: CmdYMoveAbsolute
  1741. {
  1742.     *Cmd: ""
  1743.     *Params: LIST(DestY, TextYRes)
  1744. }
  1745. *Command: CmdYMoveRelDown
  1746. {
  1747.     *Cmd: ""
  1748.     *Params: LIST(DestYRel, TextYRes)
  1749. }
  1750. *Command: CmdYMoveRelUp
  1751. {
  1752.     *Cmd: ""
  1753.     *Params: LIST(DestYRel, TextYRes)
  1754. }
  1755. *%%% *Command: CmdPushCursor
  1756. *%%% *Command: CmdPopCursor
  1757.  
  1758. *%%% =======================
  1759. *%%% Font commands
  1760. *%%% =======================
  1761.  
  1762. *Command: CmdSetFontID { *Cmd : "" }
  1763. *Command: CmdSelectFontID
  1764. {
  1765.     *Cmd: ""
  1766.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1767. }
  1768.  
  1769. *Command: CmdSetCharCode
  1770. {
  1771.     *Cmd : ""
  1772. }
  1773.  
  1774. *Command: CmdBoldOn
  1775. {
  1776.     *Cmd : ""
  1777. }
  1778. *Command: CmdBoldOff
  1779. {
  1780.     *Cmd : ""
  1781. }
  1782. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1783. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1784. *%%% *Command: CmdWhiteTextOn:
  1785. *%%% *Command: CmdWhiteTextOff:
  1786. *%%% *Command: CmdSelectSingleByteMode:
  1787. *%%% *Command: CmdSelectDoubleByteMode:
  1788. *Command: CmdSetAnyRotation
  1789. {
  1790.     *Cmd: ""
  1791.     *Params: LIST(PrintDirInCCDegrees)
  1792. }
  1793. *Command: CmdSetSimpleRotation
  1794. {
  1795.     *Cmd: ""
  1796.     *Params: LIST(PrintDirInCCDegrees)
  1797. }
  1798.